$OpenBSD: patch-src_mumble_GlobalShortcut_unix_cpp,v 1.2 2015/06/12 09:43:12 dcoppa Exp $

'XKeycodeToKeysym' is deprecated

--- src/mumble/GlobalShortcut_unix.cpp.orig	Thu Jun 11 21:49:58 2015
+++ src/mumble/GlobalShortcut_unix.cpp	Fri Jun 12 10:33:36 2015
@@ -337,7 +337,7 @@ QString GlobalShortcutX::buttonName(const QVariant &v)
 	if (!ok)
 		return QString();
 	if ((key < 0x118) || (key >= 0x128)) {
-		KeySym ks=XKeycodeToKeysym(QX11Info::display(), static_cast<KeyCode>(key), 0);
+		KeySym ks=XkbKeycodeToKeysym(QX11Info::display(), static_cast<KeyCode>(key), 0, 0);
 		if (ks == NoSymbol) {
 			return QLatin1String("0x")+QString::number(key,16);
 		} else {
